package com.xinyi.share.weixin.message.event;
/**
 * 
 * @description 点击菜单事件
 * @author wangchuan
 * @date 2014年7月5日上午11:53:37
 * @version 1.0
 */
public class ClickEventMessage extends EventMessage {
	/**
	 * 事件KEY值，与自定义菜单接口中KEY值对应  如果是view则是url
	 */
	private String eventkey;
	
	public ClickEventMessage(){}
	
	public ClickEventMessage(String fromUserName, String toUserName,String event, String eventkey,long createTime){
		super(fromUserName, toUserName, event, createTime);
		this.eventkey = eventkey;
	}

	public String getEventkey() {
		return eventkey;
	}

	public void setEventkey(String eventkey) {
		this.eventkey = eventkey;
	}

	@Override
	public String toString() {
		return "ClickEventMessage [eventkey=" + eventkey + ", getCreateTime()=" + getCreateTime() + ", getEvent()=" + getEvent() + ", getMsgType()=" + getMsgType() + ", getFromUserName()="
				+ getFromUserName() + ", getToUserName()=" + getToUserName() + "]";
	}
	
}
